package com.qf.service;

import com.qf.entity.Answers;

import java.util.List;

/**
 * @author ASUS
 * @version V1.0
 * @Project work
 * @Package com.qf.service
 * @Date 2021/10/6 13:58
 */
public interface AnswersService {

    /**
     * 添加一条回答
     * @param answer
     */
    void insert(Answers answer);

    /**
     * 根据问题查询所有评论
     * @param qid
     * @return
     */
    List<Answers> findAllByQid(long qid);
}
